package com.sheng.service.impl;

import com.sheng.service.UserService;
import org.apache.dubbo.config.annotation.Service;

@Service  //将这个类提供的方法（服务）对外发布。将访问的地址 ip，端口，路径注册到注册中心中
public class UserServiceImpl implements UserService {
    @Override
    public String add() {
        System.out.println("adadawadawda");
        return "hello dubbo ~~~";
    }
}
